package com.itheima.demo04;

public class GirlFriend extends Person {
    public void cooking() {
        System.out.println(getName() + "做饭！");
    }

    public void washClothing(Clothing clothing) {
        System.out.println(getName() + "正在洗" + clothing.toString());
    }

    public GirlFriend(String name, int height) {
        super(name, height);
    }

    public GirlFriend() {
    }
}
